
// 删除团队成员
import request from "@/utils/request";

const getPageCase = params => request({
  url: `/v1/project/case/pkg/${params.id}/page`,
  method: 'get',
  params
});
const getCasePkgById = params => request({
  url: `/v1/project/case/pkg/${params.Id}`,
  method: 'get'
});

const createCase = data => request({
  url: `/v1/project/case/pkg`,
  method: 'post',
  data
});
const createPageCase = data => request({
  url: `/v1/project/case/pkg/case`,
  method: 'post',
  data
});

const PkgCasePage = params => request({
  url: `/v1/project/case/pkg/case/${params.Id}/page`,
  method: 'get',
  params
});


export default {
  getPageCase,
  getCasePkgById,
  createCase,
  createPageCase,
  PkgCasePage
}